package com.lm.service.impl;

import com.lm.dao.DpChannelDataDao;
import com.lm.model.DpChannelData;
import com.lm.service.DpChannelDataService;
import com.meirengu.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * DpChannelData服务实现层
 *
 * @author liu
 * @create Fri Jun 15 09:49:44 CST 2018
 */
@Service
public class DpChannelDataServiceImpl extends BaseServiceImpl<DpChannelData> implements DpChannelDataService {


    @Autowired
    private DpChannelDataDao dpChannelDataDao;


    /**
     * 更新进件数量
     *
     * @param channelDataId
     * @return
     */
    public int updateReceiveNum(int channelDataId) {
        return dpChannelDataDao.updateReceiveNum(channelDataId);
    }
}
